package com.yanq.liancar.bean;

import android.support.annotation.NonNull;

import java.io.Serializable;
import java.util.Comparator;
import java.util.List;

public class MailAddressBean {

    /**
     * IsSuccess : true
     * OutputMessage : 邮寄地址查询成功
     * Data : [{"id":16,"gainpeo":"王五","gainaddress":"山东省济南市历下区","cont_phone":"13698745698","addr_detail":"和平花园3栋501","userid":12,"default_mark":0},{"id":18,"gainpeo":"冯婉蓉","gainaddress":"山东省济南市历下区","cont_phone":"13524587456","addr_detail":"和平花园5栋101","userid":12,"default_mark":0},{"id":19,"gainpeo":"监护仪","gainaddress":"山东省济南市历下区","cont_phone":"13524587456","addr_detail":"和平花园5栋101","userid":12,"default_mark":0},{"id":20,"gainpeo":"李四1","gainaddress":"山东省济南市历下区","cont_phone":"13524587456","addr_detail":"和平花园6栋101","userid":12,"default_mark":1},{"id":21,"gainpeo":"李四2","gainaddress":"山东省济南市历下区","cont_phone":"13524587456","addr_detail":"和平花园7栋101","userid":12,"default_mark":0},{"id":23,"gainpeo":"李四","gainaddress":"山东省济南市历下区","cont_phone":"13524587456","addr_detail":"和平花园8栋101","userid":12,"default_mark":0},{"id":24,"gainpeo":"冯婉蓉","gainaddress":"山东省济南市历下区","cont_phone":"13524587456","addr_detail":"和平花园9栋101","userid":12,"default_mark":0},{"id":25,"gainpeo":"冯婉蓉","gainaddress":"山东省济南市历下区","cont_phone":"13524587456","addr_detail":"和平花园10栋101","userid":12,"default_mark":0}]
     */

    private boolean IsSuccess;
    private String OutputMessage;
    private List<DataBean> Data;

    public boolean isIsSuccess() {
        return IsSuccess;
    }

    public void setIsSuccess(boolean IsSuccess) {
        this.IsSuccess = IsSuccess;
    }

    public String getOutputMessage() {
        return OutputMessage;
    }

    public void setOutputMessage(String OutputMessage) {
        this.OutputMessage = OutputMessage;
    }

    public List<DataBean> getData() {
        return Data;
    }

    public void setData(List<DataBean> Data) {
        this.Data = Data;
    }

    public static class DataBean  implements Serializable {
        /**
         * id : 16
         * gainpeo : 王五
         * gainaddress : 山东省济南市历下区
         * cont_phone : 13698745698
         * addr_detail : 和平花园3栋501
         * userid : 12
         * default_mark : 0
         */

        private int id;
        private String gainpeo;
        private String gainaddress;
        private String cont_phone;
        private String addr_detail;
        private int userid;
        private int default_mark;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getGainpeo() {
            return gainpeo;
        }

        public void setGainpeo(String gainpeo) {
            this.gainpeo = gainpeo;
        }

        public String getGainaddress() {
            return gainaddress;
        }

        public void setGainaddress(String gainaddress) {
            this.gainaddress = gainaddress;
        }

        public String getCont_phone() {
            return cont_phone;
        }

        public void setCont_phone(String cont_phone) {
            this.cont_phone = cont_phone;
        }

        public String getAddr_detail() {
            return addr_detail;
        }

        public void setAddr_detail(String addr_detail) {
            this.addr_detail = addr_detail;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public int getDefault_mark() {
            return default_mark;
        }

        public void setDefault_mark(int default_mark) {
            this.default_mark = default_mark;
        }

    }
}
